Scripting > Installing 64-bit CygNet API Libraries
Installing 64-bit CygNet API Libraries
CygNet Software supports a 32-bit version and a 64-bit version of each automation library.
- The 32-bit versions are found in the CygNet\Support directory and are automatically installed and registered when the CygNet product is installed.
- The 64-bit versions are found in the CygNet\Support64 directory. At this time the 64-bit versions are not automatically installed by the CygNet 64-bit Installer. Follow the steps below to manually install and register these files.
To Install 64-bit API Libraries
- Copy and paste the Cx...64.dll files from the CD_Image\Support64 directory to your client machine. A good file location is \CygNet\Support64 for easy administration, patching, and reference.
- Install the CygVS2010Redist64.exe, CygVS2012Redist64.exe, or CygVS2013Redist64.exe found in the CD_Image\System64 directory to install the C++ libraries upon which the Cx....64.dll files rely.
Note: You can check whether the Redistributable program is already installed by opening the Control Panel/Programs/Programs and Features and looking for entries that say "Microsoft Visual C++ YYYY Redistributable (x64)" where YYYY is the year. The Redistributable program must be installed prior to registering the 64-bit CygNet API libraries.
- Manually register each Cx...64.dll file using either:
- CVersionInfo.exe located in the CygNet\Utilities folder
- regsvr32.exe located in the Windows\System32 folder, or Windows\SysWOW64\regsvr32.exe on a 64-bit operating system.
Make sure the user account you are using to register has full access to the registry and the file system to avoid registration errors. A common registration error is: 0x8007005, which means you do not possess the appropriate permissions to register the file. If you get an error and want to understand what the error means you can use the following steps:
Converting Win32 Error Codes to "Human-Readable" Format
- Copy the last four hex digits from the error code, for example, copy "0005" from 0x80070005.
- Convert the hex digits to decimal. You can use Windows Calculator (Calc.exe) located in the Windows\System32 folder in "Programmer" mode to accomplish this.
- Using a command prompt, type
net helpmsg <decimal result from step 2> and then press Enter.
- The string produced will be the simplified description for the hex Win32 Error Code.